package com.rw.coco.util.config;

import lombok.Getter;

import java.util.Collections;
import java.util.Set;

/**
 * 属性名，有些属性名拥有别名
 */
@Getter
public class PropName {
    private final String name;
    private final Set<String> anotherName;

    public PropName(String name, Set<String> anotherName) {
        this.name = name;
        this.anotherName = Collections.unmodifiableSet(anotherName);
    }
}
